import { DefaultLayout } from '@/layout'
import type { Route } from '@/layout/components'

export default {
  path: '/account',
  name: 'Account',
  component: DefaultLayout,
  redirect: '/account/accountManage',
  meta: {
    title: '账号权限',
    icon: 'menu-permissions',
    alwaysShow: true,
    sort: 30,
    roles: ['权限账号']
  },
  children: [
    {
      path: 'accountManage',
      name: 'AccountManage',
      component: () => import('@/views/account/accountManage'),
      meta: { title: '账号管理', roles: ['账号管理'] }
    }
  ]
} as Route
